Hash table

Table of Contents

Hash table

In computing, a hash table (also hash map) is a data structure used to implement an associative array, a structure that can map keys to values. A hash table uses a hash function to compute an index into an array of buckets, from which the correct value can be found.1

Cuckoo hashing2

Choosing a good hash function

Some authors claim that good hash functions should have the avalanche effect; that is, a single-bit change in the input key should affect, on average, half the bits in the output. Some popular hash functions do not have this property.

Collision resolution

Features

Independent packages

comparison of Hash Table Libraries

comparison of Hash Function

General Purpose Hash Function Algorithms3

Footnotes:

Author: Shi Shougang

Created: 2015-03-05 Thu 23:21

Emacs 24.3.1 (Org mode 8.2.10)

Validate